﻿using System;
namespace Golf.Model
{
	/// <summary>
	/// Golf_Admin:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Golf_Admin
	{
		public Golf_Admin()
		{}
		#region Model
		private int _id;
		private string _adminname;
		private string _password;
		private bool _isstate= true;
		private int _groupid=0;
		private string _realname;
		private DateTime _logintime;
		private DateTime? _lastlogintime;
		private string _loginip;
		private string _lastloginip;
		private int _loginnumber;
		private DateTime _addtime;
		/// <summary>
		/// 自增长Id
		/// </summary>
		public int Id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 用户名
		/// </summary>
		public string AdminName
		{
			set{ _adminname=value;}
			get{return _adminname;}
		}
		/// <summary>
		/// 密码 
		/// </summary>
		public string PassWord
		{
			set{ _password=value;}
			get{return _password;}
		}
		/// <summary>
		/// 禁用状态 0关闭，1开启
		/// </summary>
		public bool IsState
		{
			set{ _isstate=value;}
			get{return _isstate;}
		}
		/// <summary>
		/// 0不具备任何权限 Golf_AdminGroups表
		/// </summary>
		public int GroupId
		{
			set{ _groupid=value;}
			get{return _groupid;}
		}
		/// <summary>
		/// 真实姓名
		/// </summary>
		public string RealName
		{
			set{ _realname=value;}
			get{return _realname;}
		}
		/// <summary>
		/// 登录时间
		/// </summary>
		public DateTime LoginTime
		{
			set{ _logintime=value;}
			get{return _logintime;}
		}
		/// <summary>
		/// 最后登陆时间
		/// </summary>
		public DateTime? LastLoginTime
		{
			set{ _lastlogintime=value;}
			get{return _lastlogintime;}
		}
		/// <summary>
		/// 登陆IP
		/// </summary>
		public string LoginIP
		{
			set{ _loginip=value;}
			get{return _loginip;}
		}
		/// <summary>
		/// 最后登陆Ip
		/// </summary>
		public string LastLoginIP
		{
			set{ _lastloginip=value;}
			get{return _lastloginip;}
		}
		/// <summary>
		/// 登陆次数
		/// </summary>
		public int LoginNumber
		{
			set{ _loginnumber=value;}
			get{return _loginnumber;}
		}
		/// <summary>
		/// 添加用户时间
		/// </summary>
		public DateTime AddTime
		{
			set{ _addtime=value;}
			get{return _addtime;}
		}
		#endregion Model

	}
}

